<?php
/**
* 功能: 异步传送注册成功信息
* 创建日期:Tue Dec 20 16:54:51 CST 2011
* 最后更新:
* 作者: slash
*/

class send_info {
	
	public $snoopy;
	function send_info() {
		$this->snoopy = Factory::getBaseClass('Snoopy');
	}
	
	
	function put_info($array,$url)
	{
		$submit_url = $url;
		$submit_vars['gender'] = urlencode($array['gender']);
		$submit_vars['mobile'] = $array['mobile'];
		$submit_vars['addr'] = urlencode($array['addr']);
		$submit_vars['photo'] = $array['photo'];
		$submit_vars['name'] = urlencode($array['name']);
		$submit_vars['birthday'] = $array['birthday'];
		$submit_vars['user_id'] = $array['user_id'];
		$submit_vars['result'] = $array['result'];
		$submit_vars['key_code'] = $array['key_code'];
		$submit_vars['stid'] = $array['stid'];
		$this->snoopy->submit($submit_url,$submit_vars);
		return $this->snoopy->results;
	}
	
}
